home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 24
/
PC Gamer IT CD 24 2-2.iso
/
OFFICE
/
XLscan97
/
XLScan97.exe
/
RCDATA
/
CABINET
/
Xvbscan.inf
< prev
Wrap
Windows Setup INFormation
|
1997-07-01
|
4KB
|
144 lines
[version]
signature="$CHICAGO$"
;need to tell INFInstall to use ADVPACK.DLL-it implements CustomDestination
AdvancedINF=2.5
[DestinationDirs]
contents=49002
InstalledLFN=49002
contentsDLL=49004
INFCopy=17
DLLCopy=11
LNFdll=11
;begin install logic
[DefaultInstall]
;Win95 entry point
CustomDestination=FileDest
CopyFiles=contents,contentsDLL,INFCopy,DLLCopy,LNFdll
AddReg=PkgFiles,GenUninstallKey,Win95UninstallKey,RenamePkgFiles
[DefaultInstall.NT]
;NT 4 entry point
CustomDestination=FileDest
CopyFiles=contents,contentsDLL,INFCopy,DLLCopy
AddReg=PkgFiles,GenUninstallKey,NTUninstallKey,RenamePkgFiles
[contents]
;copy to Program Files\Microsoft Office\Office\Library
XLScan97.xla
Xvbscan.exe
Readme.txt
[contentsDLL]
;copy to Program Files\Microsoft Office\Office
Scanload.dll
[INFCopy]
;copy INF to Windows\INF for uninstall
Xvbscan.inf
[DLLCopy]
;copy DLL to system folder
Msvbvm50.dll
[LNFdll]
setupapi.dll
cfgmgr32.dll
[InstalledLFN]
"XLSCAN97 Readme.txt"
[FileDest]
49001=TemplPathKey,7
49002=BogusRegKey,5
49003=TemplPathKey2,7
49004=BogusRegKey2,5
[TemplPathKey]
"HKLM","SOFTWARE\Microsoft\Office\8.0\Excel\InstallRoot","Path","",""
"","","","%FailMsg%",""
[BogusRegKey]
"HKLM","SOFTWARE\BogusApp\BogusKey","","","%49001%\%PubDir%"
[TemplPathKey2]
"HKLM","SOFTWARE\Microsoft\Office\8.0\Common\InstallRoot","OfficeBin","",""
"","","","%FailMsg%",""
[BogusRegKey2]
"HKLM","SOFTWARE\BogusApp\BogusKey","","","%49003%"
[PkgFiles]
"HKLM","SOFTWARE\Microsoft\Office\8.0\Excel\Xvbscan","InstallDir","","%49002%"
[RenamePkgFiles]
;gives long file names
HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Xvbscan,,,"%49002%"
HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Xvbscan,Readme.txt,,"XLSCAN97 Readme.txt"
[GenUninstallKey]
;Reg key that puts entry in Add/Remove files CPL applet dialog
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Xvbscan,"DisplayName",,"%PackageDesc%"
[Win95UninstallKey]
;call ADVPACK uninstaller on Win95
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Xvbscan,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\Xvbscan.inf, Uninstall"
[NTUninstallKey]
;call ADVPACK uninstaller on NT 4
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Xvbscan,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\Xvbscan.inf, Uninstall.NT"
; begin uninstall logic
[Uninstall]
;need to specify setupapi.dll on Win95 for LFN support
RequiredEngine=Setupapi
BeginPrompt=BeginPromptSection
EndPrompt=EndPromptSection
CustomDestination=FileDest
Delfiles=contents,InstalledLFN
Deldirs=RemoveFolder
;clean up uninstall keys
DelReg=DelRegSection
Cleanup=1
[Uninstall.NT]
BeginPrompt=BeginPromptSection
EndPrompt=EndPromptSection
CustomDestination=FileDest
Delfiles=contents,InstalledLFN
Deldirs=RemoveFolder
DelReg=DelRegSection
Cleanup=1
[BeginPromptSection]
Prompt="%BeginPrompt%"
ButtonType=YESNO
Title=%PackageName%
[EndPromptSection]
Prompt="%EndPrompt%"
[RemoveFolder]
%49002%
[DelRegSection]
"HKLM","SOFTWARE\Microsoft\Office\8.0\Excel\Xvbscan
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Xvbscan
HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Xvbscan
[SourceDisksNames]
1 = "Xvbscan",,0
[Strings]
PubDir="Library"
PackageName="Microsoft Excel 97 Laroux Virus Scanner"
PackageDesc="Microsoft Excel 97 Laroux Virus Scanner (Remove only)"
FailMsg="You must have Microsoft Excel 97 installed to install this software."
;prompts
BeginPrompt="Are you sure that you want to remove the Microsoft Excel 97 Laroux Virus Scanner?"
EndPrompt="The Microsoft Excel 97 Laroux Virus Scanner was successfully removed."